# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libmce-qt
pkgver=1.4.2
pkgrel=0
pkgdesc="Qt client for mce, and a declarative plugin for it"
url="https://git.sailfishos.org/mer-core/libmce-qt"
arch="all"
license="BSD-3-Clause"
depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev mce-dev"
makedepends="$depends_dev"
subpackages="$pkgname-dev"
source="https://git.sailfishos.org/mer-core/libmce-qt/-/archive/$pkgver/libmce-qt-$pkgver.tar.gz"

build() {
	qmake-qt5
	make
}

package() {
	INSTALL_ROOT="$pkgdir" make install
}

sha512sums="ab331604b5dd2504e8e7f4590e87f1eab021d3fa206ebae4daa8ae9aa1aa7d16e074ea5a0a0060d9eef908d50df13b838fdfbb182a9948eac4b0e43b5a582050  libmce-qt-1.4.2.tar.gz"
